package com.beiding.workordersystem.system.dao;

import com.beiding.workordersystem.common.dao.ExpandBaseMapper;
import com.beiding.workordersystem.system.entity.FileEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import javax.xml.crypto.Data;
import java.util.Date;
import java.util.List;

@Repository
public interface FileDao extends ExpandBaseMapper<FileEntity> {
    List<String> getAllIdsByHolderId(String holderId);

    void claim(@Param("holderId") String holderId, @Param("id") String id, @Param("time") Date date);
}
